home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trading on the Edge
/
Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin
/
pc
/
mac_file
/
vendor_d
/
neuralwa
/
nw2v50
/
grnbcoef.igb
< prev
next >
Wrap
Text File
|
1993-08-23
|
2KB
|
80 lines
inst4.1 !Nov, 1992
!****************************************************************
!* *
!* B Coefficient *
!* *
!****************************************************************
!
@LLsl !Load super-layer
=n0 Lpes !Number of layers
=LayN 0
! Look for first layer that learns
:Koh1
+LayN 1 !next layer
?LayN n0
>bgt KohEnd !past output layer
@LLly !load the layer
?Llrn 0 !is this a preprocessing layer?
>bne Koh2 !we are past the preprocessing layers
>br Koh1 !next layer
:Koh2
=n4 Lpes !number of PEs in the pattern layer
!Next layer is Summation/Divisor layer
+LayN 1 !next layer
@LLly !load the layer
=NPEl LayN !set up as near (source) layer
=NPEn 0 !First PE
! Add probe
=PNam "BCoefs" !probe name
@PbAS !Add Probe
@PbDC !Delete all components
@NrPE !Point to target PE
@PAPE !Add target PE to probe
! Now build the instrument
@ILdD !load default instrument
=ITit "B Coefficients" !Instrument title
=IGTy "Bar" !Graph Type
=IGVr "Weight" !Variable
=ITTy "RMS" !RMS Transformation Type
=ITMd 0 !No transformation
=IEpc 0 !No epoch
=Ignx n4
=Inpl n4
=Iwdt 4
*Iwdt n4
! At least 140 wide
?Iwdt 140
>bgt Koh4
=Iwdt 140
:Koh4
=Ihgt 100
=Ivmn 0.0
=Ivmx 2.0
/Ivmx n4
=ILnA 1 !Active in Learn
=IRcA 0 !Inactive in recall
=ILDv 15 !Every 15 iterations
=ILRm 0
=IRDv 0
=IRRm 0
=IPrb PNam !Point to probe
=ICAc 0 !Convergence criterion inactive
=ICTh 0.0 !Convergence Threshold
!Let NeuralWorks figure out where to put instrument
=x 0
=y 0
@IAdd !Now create instrument
:KohEnd